<div class="mws-dropdown-content">
    <ul class="mws-notifications">
        <?php
        foreach ($data as $membro) {
            echo "<li class='read'>";
            echo "<a href='".BASE_URL."membro'>";
            echo "<span class='message'>";
            echo $membro->nome;
            echo "</span>";
            echo "<span class='time'>";
            echo $membro->cadastrado;
            echo "</span>";
            echo "</a>";
            echo "</li>";
        }
        ?>
    </ul>
    <div class="mws-dropdown-viewall">
        <a href="<?php echo BASE_URL; ?>membro" class="mws-i-24">Ver todos os membros</a>
    </div>
</div>